package cn.chenchao.eshop.goods.entity;
import cn.chenchao.eshop.common.entity.Entity;


/**
 * @encoding : UTF-8
 * @Time : 2020/11/23 13:19
 * @Author : Chen Chao
 * @File : eshop.cn.chenchao.eshop.goods.entity.Goods.java
 * @Software : IntelliJ IDEA
 * @since : 1.8
 * 商品类
 */
public class Goods extends Entity {
    private String name;
    private int price;
    private int count;

    public Goods() {
    }

    public Goods(String name, int price, int count) {
        this.name = name;
        this.price = price;
        this.count = count;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }
}
